
cmake_minimum_required( VERSION 2.6 )

project( NANE_lib )

configure_file(${NANE_SOURCE_DIR}/cmake/ModulesInit.template ${CMAKE_CURRENT_BINARY_DIR}/ModulesInit.cpp @ONLY)

add_library( nane ${NANE_LIB_MODE}
nane.h
nane.cpp
${CMAKE_CURRENT_BINARY_DIR}/ModulesInit.cpp
)

nane_add_source_file(lib/nane.h)

target_link_libraries( nane ${NANE_SUBSYSTEM_TARGETS} nane_core )
